<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<center>
<table class="table table-bordered">
    <tr>
        <td>商品编号</td>
        <td>商品名称</td>
        <td>商品价格</td>
        
        <td>商品图片</td>
        <td>操作</td>
    </tr>

    <?php $__currentLoopData = $res; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <tr>
        <td><?php echo e($v->id); ?></td>
        <td><?php echo e($v->name); ?></td>
        <td><?php echo e($v->price); ?></td>
        
        <td><?php echo e($v->img); ?></td>
        <td><a href="goods-dels?id=<?php echo e($v->id); ?>">删除</a>|<a href="">修改</a></td>
    </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php echo e($res->links()); ?>

</table>
</center>